package com.xpy.entity;

public class Admin {
    Integer id;
    String name;
    String pwd;
    Integer power;

    public Admin() {
    }

    public Admin(Integer id, String name, String pwd, Integer power) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.power = power;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return pwd
     */
    public String getPwd() {
        return pwd;
    }

    /**
     * 设置
     * @param pwd
     */
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    /**
     * 获取
     * @return power
     */
    public Integer getPower() {
        return power;
    }

    /**
     * 设置
     * @param power
     */
    public void setPower(Integer power) {
        this.power = power;
    }

    public String toString() {
        return "Admin{id = " + id + ", name = " + name + ", pwd = " + pwd + ", power = " + power + "}";
    }
}
